package com.neusoft.nep.admin.entity;

public class ProvinceStatData {

        private String provinceId;      // 省编号
        private String provinceShort;   // 省简称
        private String provinceName;    // 省名称
        private int so2Excess;          // SO₂超标累计
        private int coExcess;           // CO超标累计
        private int pm25Excess;         // PM2.5超标累计
        private int aqiExcess;          // AQI超标累计

    public void setProvinceId(String provinceId) {
        this.provinceId = provinceId;
    }

    public void setProvinceShort(String provinceShort) {
        this.provinceShort = provinceShort;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public void setSo2Excess(int so2Excess) {
        this.so2Excess = so2Excess;
    }

    public void setCoExcess(int coExcess) {
        this.coExcess = coExcess;
    }

    public void setPm25Excess(int pm25Excess) {
        this.pm25Excess = pm25Excess;
    }

    public void setAqiExcess(int aqiExcess) {
        this.aqiExcess = aqiExcess;
    }

    public ProvinceStatData(String provinceId, String provinceShort, String provinceName,
                            int so2Excess, int coExcess, int pm25Excess, int aqiExcess) {
            this.provinceId = provinceId;
            this.provinceShort = provinceShort;
            this.provinceName = provinceName;
            this.so2Excess = so2Excess;
            this.coExcess = coExcess;
            this.pm25Excess = pm25Excess;
            this.aqiExcess = aqiExcess;
        }

        // Getter 方法，供 PropertyValueFactory 反射调用
        public String getProvinceId() {
            return provinceId;
        }

        public String getProvinceShort() {
            return provinceShort;
        }

        public String getProvinceName() {
            return provinceName;
        }

        public int getSo2Excess() {
            return so2Excess;
        }

        public int getCoExcess() {
            return coExcess;
        }

        public int getPm25Excess() {
            return pm25Excess;
        }

        public int getAqiExcess() {
            return aqiExcess;
        }
    }

